<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        *{margin: 0;padding: 0}
      
      .container{

        width: 1000px;
        margin-left: auto;
        margin-right: auto;
        height: 1500px;
        background: pink;


       }
       .list>div{
           margin-left: -1px;
           margin-top: -1px;

       
        border: 1px solid #333;

       }
       .list{

        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr ;
        grid-template-rows: 300px 100px;

       }
    img{
        width: 240px;
        height: 300px;
    }
    
    </style>
</head>
<body>
    <div class="container">
            <div class="list">
                 <div></div>
                 <div></div>
                 <div></div>
                 <div></div>
            </div>
            <br>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
    </div>
</body>
</html>